<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="menu" content="assetMenu" />
<meta name="nav" content="2" />
<meta name="acc" content="0" />
<title>工程管理</title>
</head>
<body>
<form id="mainForm" action="projectinfo.action" method="get">
<h1>工程管理</h1>
<input type="hidden" name="page.pageNo" id="pageNo"
	value="${page.pageNo}" /> <input type="hidden" name="page.orderBy"
	id="orderBy" value="${page.orderBy}" /> <input type="hidden"
	name="page.order" id="order" value="${page.order}" />
<div id="message"><s:actionmessage theme="custom"
	cssClass="success" /></div>
<div id="filter">
	项目编号：<input type="text"
		name="filter_LIKES_projKind" value="${param['filter_LIKES_projKind']}" />
	项目名称：<input type="text" name="filter_LIKES_projName"
		value="${param['filter_LIKES_projName']}" /> <br />
	<input type="button" value="查询" onclick="search();" /> </div>
<div id="content">
<table id="contentTable">
	<tr>
		<th>工程类型</th>
		<th>项目名称</th>
		<th>项目编号</th>
		<th>开工时间</th>
		<th>完工时间</th>
		<th>操作</th>
	</tr>
	<c:forEach items="${page.result}" var="proj">
		<tr>
			<td>${proj.projKind}</td>
			<td>${proj.projName}</td>
			<td>${proj.projCode}</td>
			<td>${proj.planStartDate}</td>
			<td>${proj.planEndDate}</td>
			<td><a href="${ctx}/project/projectinfo!login.action?id=${proj.id}">查看</a>
			<a href="${ctx}/project/projectinfo!delete.action?id=${proj.id}">删除</a>
			<a href="${ctx}/quality/fproject!view.action?projId=${proj.id}" target="_blank">查看流程</a></td>
		</tr>
	</c:forEach>
<tr><td colspan="6"><a href="${ctx}/project/projectinfo!login.action">新增项目</a></td></tr>
</table>
</div>
<jsp:include page="/common/page.jsp" flush="true" />
</form>
</body>
</html>
